package com.baitai.system.mapper;

import java.util.List;
import com.baitai.system.domain.SysUserPrizes;
import com.baitai.system.domain.vo.SysUserPrizesVo;

/**
 * 用户奖品Mapper接口
 * 
 * @author xx
 * @date 2024-07-21
 */
public interface SysUserPrizesMapper 
{
    /**
     * 查询用户奖品
     * 
     * @param id 用户奖品主键
     * @return 用户奖品
     */
    public SysUserPrizes selectSysUserPrizesById(Long id);

    /**
     * 查询用户奖品列表
     * 
     * @param sysUserPrizes 用户奖品
     * @return 用户奖品集合
     */
    public List<SysUserPrizes> selectSysUserPrizesList(SysUserPrizes sysUserPrizes);

    /**
     * 新增用户奖品
     * 
     * @param sysUserPrizes 用户奖品
     * @return 结果
     */
    public int insertSysUserPrizes(SysUserPrizes sysUserPrizes);

    /**
     * 修改用户奖品
     * 
     * @param sysUserPrizes 用户奖品
     * @return 结果
     */
    public int updateSysUserPrizes(SysUserPrizes sysUserPrizes);

    /**
     * 删除用户奖品
     * 
     * @param id 用户奖品主键
     * @return 结果
     */
    public int deleteSysUserPrizesById(Long id);

    /**
     * 批量删除用户奖品
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysUserPrizesByIds(Long[] ids);

    List<SysUserPrizesVo> selectSysUserPrizesVoList(SysUserPrizes sysUserPrizes);
}
